package com.jww.service.bill;

import com.jww.pojo.Bill;
import com.jww.pojo.User;

import java.util.List;

public interface BillService {
    //查询订单条数
    public int getBillCount(String productName,int providerId,int isPayment);

    //查询订单列表信息
    public List<Bill> getBillList(String productName, int providerName,int isPayment,int currentPageNo,int pageSize);

    //添加订单
    public boolean addBill(Bill bill);

    //查询订单信息
    public Bill getBillId(int id);

    //修改订单信息
    public boolean updateBill(Bill bill);

    //根据billCode查询出User
    public Bill selectBillCodeExist(String billCode);

    //删除订单
    public boolean deleteBill(int id);
}
